class TagsController < ApplicationController
	before_filter :require_login, only: [:destroy]

	def show
		@tag = Tag.find(params[:id])
	end

	def index
		@tags = Tag.all
	end

	private
	  def not_authenticated
        redirect_to login_path, :alert => "First log in to view this page."
      end
end
